<?php
require_once FOREGROUND_PC_COMMON_ACTION_DIR . '/member.php';

class foreground_pc_member_change_password_action extends foreground_pc_member_common_action
{
    protected $_if_require_login = true;
    
    protected function _current_page_run()
    {
        //var_dump(__METHOD__); exit();
        
        $foreground_member_change_password_action_service = wwy_resource_container::get_foreground_member_change_password_action_service();
        $foreground_member_change_password_action_service->process();
                     
        self::$_view_data['if_member_side_bar'] = 1;
        
        self::$_view_data['login_url'] = $this->get_url(array('route' => 'member_mobile_login'));	
	    self::$_view_data['do_change_password_url'] = $this->get_url(array('route' => 'member_do_change_password'));
                
        self::$_layout_data['view_content'] = $this->_render_view('member/change_password.php');
        
        self::$_layout_data['member_menu'] = $this->_render_view('member/menu.php');
        
        //var_dump(self::$_view_data); exit();
    }
}